import { LanguageFn } from 'highlight.js'
import javascript from 'highlight.js/lib/languages/javascript'
import typescript from 'highlight.js/lib/languages/typescript'

// 需注册的语言
export const registerLanguages: Array<{
  name: string
  lang: LanguageFn
}> = [
  { name: 'javascript', lang: javascript },
  { name: 'typescript', lang: typescript }
]
